home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000083_news@newsmaster….columbia.edu _Mon Oct 13 13:12:37 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA21813
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 13 Oct 1997 13:12:36 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA29194
  7.     for kermit.misc@watsun; Mon, 13 Oct 1997 13:12:36 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!news-feed1.tiac.net!news.ultranet.com!not-for-mail
  9. From: newguy <newguy@southeast.net>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Need script to run automatically after each K95 server-mode file received...
  12. Date: Mon, 13 Oct 1997 13:10:03 -0400
  13. Organization: UltraNet Communications, Inc.
  14. Lines: 24
  15. Message-ID: <344255EA.40ACF522@southeast.net>
  16. NNTP-Posting-Host: d6.dial-2.lwl.ma.ultra.net
  17. Mime-Version: 1.0
  18. Content-Type: text/plain; charset=us-ascii
  19. Content-Transfer-Encoding: 7bit
  20. X-Mailer: Mozilla 4.02 [en] (Win95; I)
  21. Xref: news.columbia.edu comp.protocols.kermit.misc:7859
  22.  
  23. We run Kermit95 in server-mode to receive files from a database machine
  24. unattended.
  25.  
  26. Unfortunately, we need the file names on the received end to be renamed
  27. from the name that the sending kermit is using.  The _real_ name that
  28. should be used is contained in a text line in the file itself (i.e.
  29. something like FILENAME=what.name.should.really.be .
  30.  
  31. Is there a way to get a script to run after each successful receipt of a
  32. file while remaining in server mode?  (A simple script could read the
  33. file, get the proper name, and then rename the file.)
  34.  
  35. Failing that, could anyone help with a script that would:
  36.     1) manually wait to receive a file (forever)
  37.     2) after successful receipt, rename the file
  38.     3) loop back to step 1
  39. (In effect, this script would act like server mode)
  40.  
  41. Please respond to this newsgroup, our email is flaky.
  42. Thanks.
  43.  
  44.  
  45.  
  46.